home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / StartupTools / WaitVal10.readme < prev    next >
Text File  |  1996-09-26  |  4KB  |  69 lines

  1. Short:    Waits for device to finish validating
  2. Author:   Pieter Hollants <fxmts205@rz.uni-frankfurt.de>
  3. Uploader: Pieter Hollants <fxmts205@rz.uni-frankfurt.de>
  4. Type:     util/boot
  5.  
  6. WaitVal v1.0 (08.02.96) by Pieter Hollants
  7. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. This utility was written in five minutes because I was fed up with my
  9. partitions validating all the time just because some program crashed the
  10. computer again during a write access. You pass it a drive name (preferrably
  11. your boot partition) and it checks if the drive is currently validating. If
  12. so, it will check every 5 seconds until it has finished validating. Due
  13. to its nature its meant to be used in your startup-sequence, preferrably
  14. at its very start.
  15.  
  16. I've written this to suit my needs. It does not work when run from Workbench,
  17. it does not use ReadArgs() to get the single argument needed, it does not
  18. check multiple devices at once (who boots from multiple partitions at once
  19. anyway?) and it does not give you a nice requester asking you to wait (it
  20. especially refuses to deal with a MUI requester!). It just writes some info
  21. to the shell and you'll have to hold on. It doesn't say anything if the
  22. specified drive is fine. That's to prevent the Boot Shell from being opened.
  23.  
  24. The delay of 5 seconds seems accurate to me as you won't want the tool to
  25. eat all CPU time by continously checking the drive's status. It's hardcoded,
  26. you won't die of the few wasted seconds anyway.
  27.  
  28. And the huge size of 5k is because of the standard C startup code. I was
  29. too lazy to write the whole thing without startup. Feel free to contact me
  30. if you want to do it better and you'll get the C source. Also if you'd like
  31. to be able to check multiple devices at once, to change the 5 seconds
  32. delay or want a ReqTools requester popping up - this would be one of the
  33. things I'd rather consider. For now I'm just happy as it currently is.
  34.  
  35. Another thing to notice are the return codes: if everything goes okay
  36. it's a dumb zero, if the device can't be Lock()'d or Info()'d it'll be
  37. ten and if you smart guy attempt to run it from Workbench it will be 20
  38. as the current window ('*' to be precisely) couldn't be opened for
  39. writing (I'm using Write() as the text appears immediately in contrast to
  40. the buffered printf()).
  41.  
  42. Contact me at: Pieter Hollants       INet: fxmts205@rz.uni-frankfurt.de
  43.                Rossertstrasse 80     Fido: Pieter Hollants@2:2465/425.14
  44.                D-65830 Kriftel       Warp: fate@137:15/201.0
  45.                Germany               CoCo: fate@99:112/1.0
  46.  
  47. Also known as Fate/1oo% CNet/Anscii Innovation. Greetings to Neurodancer,
  48. Dreamer, Adolescent and the others :)
  49.  
  50. And by the way, this tool is freely usable. Distribution in commercial
  51. software collections is strictly forbidden (except for the AmiNet and
  52. Fred Fish CDs). Anyone charging money for it should consider joining
  53. Microsoft(TM). And it's not shareware as that utility doing the same task
  54. a bit better by some finish coder. It's free - it's so simple it must be
  55. free. I rather like getting mails of satisfied users (huh huh) than money.
  56.  
  57.          Amiga - where do you want to go tomorrow? (TM by phase 5)
  58.  
  59.  
  60. ============================= Archive contents =============================
  61.  
  62. Original  Packed Ratio    Date     Time    Name
  63. -------- ------- ----- --------- --------  -------------
  64.     4552    2908 36.1% 08-Feb-96 20:55:26  WaitVal
  65.     3153    1606 49.0% 08-Feb-96 21:15:36  WaitVal.readme
  66.      134     108 19.4% 08-Feb-96 21:17:08  FILE_ID.DIZ
  67. -------- ------- ----- --------- --------
  68.     7839    4622 41.0% 10-Feb-96 09:40:04   3 files
  69.